#ifndef __SIPSTRUTILS_HPP__
#define __SIPSTRUTILS_HPP__

#include "SipResipConfigure.hpp"
#include <list>

namespace wtsip{

class RESIP_PUBLIC CStrUntils
{
public:
    CStrUntils();

    ~CStrUntils();

public:
    static bool StringSplit(std::string& str, std::string& splits, std::list<std::string>& list);

    //static std::string CStringToStdStr(const CString& theCStr);

    //static void CString2LPTSTR(LPTSTR dst, CString& Cstr);

    static bool isEmpty(std::string& str);

    static std::string& trim(std::string &str);

private:
    //static int s_Marks[0xff];
};

}//namespace wtsip

#endif

